package com.hedl.classroom.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Big Watermelon
 * @description
 * @date 2023/12/18/14:38
 */
@Data
@ToString
public class ReturnPaymentData implements Serializable {

    private static final long serialVersionUID = 1L;

    private String code;

    private String msg;

    //购买者登录id
    @JsonProperty("buyer_logon_id")
    private String buyerLogonId;

    //买方支付金额
    @JsonProperty("buyer_pay_amount")
    private String buyerPayAmount;

    //购买者用户ID
    @JsonProperty("buyer_user_id")
    private String buyerUserId;

    //购买者用户类型
    @JsonProperty("buyer_user_type")
    private String buyerUserType;

    //发票金额
    @JsonProperty("invoice_amount")
    private String invoiceAmount;

    //支付宝交易号
    @JsonProperty("out_trade_no")
    private String outTradeNo;

    //积分金额
    @JsonProperty("point_amount")
    private String pointAmount;

    //收据金额
    @JsonProperty("receipt_amount")
    private String receiptAmount;

    //发送付款日期
    @JsonProperty("send_pay_date")
    private LocalDateTime sendPayDate;

    //总金额
    @JsonProperty("total_amount")
    private String totalAmount;

    //贸易编号
    @JsonProperty("trade_no")
    private String tradeNo;

    //交易状态
    @JsonProperty("trade_status")
    private String tradeStatus;

}
